﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once

// std headers
#include <memory>
#include <vector>

// qt headers

// gcmp headers

// custom headers
#include "ResponseHandlerBase.h"


namespace gmepgcs
{
    struct ILegend;
}

namespace gmepgcs
{
    class GCS_SERVICE_EXPORTS LegendsResponseHandler : ResponseHandlerBase<std::vector<std::shared_ptr<ILegend>>>
    {
    public:
        explicit LegendsResponseHandler();
        virtual ~LegendsResponseHandler();

    protected:
        virtual void HandleData(const QJsonValue &data) override;

    private:
        QString m_gjwStaticEndPoint;
    };
}